{% extends "base.html" %}

{% block inline_css %}
{{block.super}}
{% include 'view_menu.css' %}
<style type="text/css">
#dashboard_menu {
    float: left;
    width: 20%;
}
#dashboard_content {
    float: left;
    width: 80%;
}
</style>
{% endblock %}

{% block title %}
    <a href="{% url 'dashboard' %}">Dashboard</a>{% endblock %}
{% block content %}
{% if user.is_authenticated %}
<div id="dashboard">
    <div id="dashboard_menu">
        {% include 'dashboard/menu.html' %}
    </div>
    <div id="dashboard_content">
    {% block dashboard_content %}
    {% endblock %}
    </div>
</div>
<div style="clear:both"></div>
{% else %}
{% endif %}
{% endblock content %}
